package za.ac.cput.peterjohn.DesignPatternPrincipals.Behavioral.ChainOfResponsibility.Model;


public class MercuryHandler extends PlanetHandler 
{
    @Override
    public String handleRequest(PlanetEnum request)
    {
        if( request == PlanetEnum.MERCURY)
            return "Mercury";
        else
        {
            if(successor != null)
                return successor.handleRequest(request);
        }
        
        return request+"";
    }
}